package springIoc.test03.springbean;

/**
 * 通过无参构造方法实例化
 */
public class BeanClass {
    public String message;
    public BeanClass(){
        message ="Hello,Spring Bean";
    }
    public  BeanClass(String s){
        s=message;
    }
}
